package com.zhangzhan.service;

import com.zhangzhan.domain.commcon.ResponseResult;
import com.zhangzhan.domain.entity.User;
import com.zhangzhan.domain.vo.AdminUserInfoVo;
import com.zhangzhan.domain.vo.MenuVO;

import java.util.List;


public interface LoginService {

    ResponseResult login(User user);

    ResponseResult<AdminUserInfoVo> getInfo();

    List<MenuVO> getRouters(Long userId);

    ResponseResult logout();

}
